#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
/**
 * ${copyright}
 * Copyright (c) 2019. All Rights Reserved.
 */
package ${package}.common.emum;

/**
 * Description: 树枚举类
 *
 * @author YL
 * @date 2019/8/6 15:28
 *
 * <pre>
 *              ${copyright}
 *      Copyright (c) 2019. All Rights Reserved.
 * </pre>
 */
public enum  TreeEnum {

    /**
     * 类型：0：用户 1：组织
     */
    USER(0,"用户"),
    GROUP(1,"组织");

    private Integer code;
    private String msg;

    TreeEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
